<?php if (!defined('THINK_PATH')) exit(); /*a:1:{s:93:"/data/wwwroot/luckyDraw/m/public/../application/single_draw/view/lianpiao/lianpiao_detail.php";i:1495614040;}*/ ?>
<!DOCTYPE html>
<html>
<head lang="en">
    <meta charset="UTF-8">
    <meta content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0" name="viewport" />
    <!-- uc强制竖屏 -->
    <meta name="screen-orientation" content="portrait">
    <!-- QQ强制竖屏 -->
    <meta name="x5-orientation" content="portrait">
    <title>联票详情</title>
    <link rel="stylesheet" href="<?php echo \think\Config::get('resources'); ?>/css/bootstrap.css">
    <link rel="stylesheet" href="<?php echo \think\Config::get('resources'); ?>/css/font-awesome.css">
    <link rel="stylesheet" href="<?php echo \think\Config::get('resources'); ?>/css/cl-style.css">
</head>
<body class="cl-body-bj">
    <div class="container-fluid">
        <div class="row">
            <header class="cl-Forgetpasswd-header">
                <ul>
                    <li class="col-xs-3"><a href="<?php echo url('index'); ?>"><i class="fa fa-chevron-left"> 返回</i></a></li>
                    <li class="col-xs-6 text-center"><span class="text-center">联票详情</span></li>
                    <li class="col-xs-3"></li>
                </ul>
            </header>
            <div class="cl-summary-box">
                <ul>
                    <li><span class="col-xs-5">联票序列号：</span><span class="col-xs-7"><?php echo $lianpiaoInfo['lianpiaono']; ?></span> </li>
                    <li><span class="col-xs-5">注册人：</span><span class="col-xs-7"><?php echo $lianpiaoInfo['username']; ?></span> </li>
                    <li><span class="col-xs-5">联票名称：</span><span class="col-xs-7"><?php echo $pname; ?></span> </li>

                    <li>
                        <span class="col-xs-5">有效期至：</span><span class="col-xs-7">
                            <?php if(strtotime($lianpiaoInfo['shiyongdate']) > time()): ?>
                                <?php echo $lianpiaoInfo['shiyongdate']; else: ?>
                                <font color="red"><?php echo $lianpiaoInfo['shiyongdate']; ?></font>
                            <?php endif; ?>
                        </span> 
                    </li>
                    <li><span class="col-xs-5">注册时间：</span><span class="col-xs-7"><!-- <?php echo $lianpiaoInfo['jihuoaddtime']; ?> --><?php $tt = explode(" ",$lianpiaoInfo['jihuoaddtime']);echo  $tt[0];?></span> </li>
                </ul>
                <div style="clear: both"></div>
            </div>
            <ul class="cl-summary-list">
                <li><a href='<?php echo url("Order/jqdd1","lianpiaono=".$lianpiaoInfo['lianpiaono']); ?>'> <span class="col-xs-6 pull-left"><i class="fa fa-calendar pull-left"></i>预约记录</span><span class="col-xs-6">查看全部预约记录<i class="fa fa-angle-double-right"></i></span></a></li>
                <li><a href='<?php echo url("jqlist",array("lpn"=>$lianpiaoInfo['lianpiaono'])); ?>'> <span class="col-xs-6 pull-left"><i class="fa fa-list-ul pull-left"></i>景区目录</span><span class="col-xs-6">查看景区目录<i class="fa fa-angle-double-right"></i></span></a></li>
                <li><a href="<?php echo url('Set/useNotice',['lpn'=>$lianpiaoInfo['lianpiaono']]); ?>"> <span class="col-xs-6 pull-left"><i class="fa fa-info-circle pull-left"></i>联票使用细则</span><span class="col-xs-6">查看细则<i class="fa fa-angle-double-right"></i></span></a></li>

            </ul>
            <?php if(strtotime($lianpiaoInfo['shiyongdate']) > time()): ?>
                <footer class="container-fluid cl-footer-ticket">
                    <a class="btn btn-warning btn-lg btn-block" href='<?php echo url("lianpiao_travel_list","lpn=".$lianpiaoInfo['lianpiaono']); ?>'>预约景区</a>
                </footer>
            <?php endif; ?>
        </div>
    </div>
<script type="text/javascript" src="<?php echo \think\Config::get('resources'); ?>/js/jquery-1.11.3.min.js"></script>
<script type="text/javascript" src="<?php echo \think\Config::get('resources'); ?>/js/bootstrap.min.js"></script>
<script type="text/javascript">
function zpCeSshi2() <!--调用方法-->
{
    event.returnValue = confirm("您确定要解除本联票的绑定吗？");
    var url = window.location.href;
    var posi = url.indexOf('id');
    var id = url.substring(posi);
    if(event.returnValue){
        window.location.href="<?php echo url('Lianpiao/lianpiao_remove'); ?>&"+id;
    }
}
</script>
<script charset="utf-8" type="text/javascript" src="<?php echo \think\Config::get('resources'); ?>/js/baidu_count.js"></script>
</body>

</html>